
import React from 'react';
import { render } from 'react-dom';
import './index.css';
import registerServiceWorker from './registerServiceWorker';
import HomePage from './pages/HomePage/HomePage'    //首页
import './conrtoSize'
import Login from './pages/login/login'
import '../src/css/com/com.css';


//路由模块导入
import {  BrowserRouter  as Router, Route } from 'react-router-dom';



render((
     <Router  > 
        <div className="content-box">
            <Route  path='/HomePage' component={ HomePage } />
            <Route exact path='/' component={Login} />
        </div>
    </Router>
), document.querySelector('#root'));
registerServiceWorker();




